//
//  UIImageView+Utility.m
//  LXVolunteer
//
//  Created by 李涛 on 15/6/5.
//  Copyright (c) 2015年 lexue. All rights reserved.
//

#import "UIImageView+Utility.h"
//#import "LXCoreManager.h"

@implementation UIImageView (Utility)

- (void)setImageWithUrl:(NSString *)url PlaceHolderImage:(UIImage *)placeHolderImage{
    if (placeHolderImage) {
        self.image = placeHolderImage;
    }
//    if ([LXManager.reachability isReachable]) {
//        [LXManager.httpTransfer downloadImageAtURL:url onCompletion:^(UIImage *fetchedImage, NSURL *url) {
//            self.image = fetchedImage;
//        } onProgress:^(int progress) {
//        } useCache:YES];
//    }
}

@end
